/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package team;

import java.rmi.RemoteException;
import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
import javax.ejb.FinderException;

/**
 *
 * @author denaas
 */
public interface TeamHome extends EJBHome {
    public team.TeamRemote create(Team tm) throws CreateException, RemoteException;
    public team.TeamRemote findByPrimaryKey(java.lang.Integer key) throws FinderException, RemoteException;
    public Collection findByName(String aName) throws FinderException, RemoteException;
    public Collection findAll() throws RemoteException;
}
